<?php
@chdir(dirname(__FILE__));
@date_default_timezone_set('PRC');
@ini_set('error_log', dirname(dirname(__FILE__)) . '/error.log');
require_once('./config.php');
require_once('./classes/class.mysql.php');
require_once('./classes/class.main.php');
require_once('./classes/class.login.php');
require_once('./classes/class.session.php');
require_once('./classes/class.statistics.php');
require_once('./classes/class.cache.php');
require_once('./classes/class.data.php');
require_once('./classes/class.query.php');
require_once('./classes/class.pager.php');
require_once('./classes/class.helper.php');
require_once('./classes/class.post.php');
require_once('./classes/class.load.php');

new cmsdream_load(new cmsdream_mysql($C->DB_HOST, $C->DB_USER, $C->DB_PASS, $C->DB_NAME));

	